.yx-login {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: rgba(0,0,0,0.8);
  .wrap {
    width: 520px;
    position: absolute;
    top: 150px;
    left: 50%;
    margin-left: -260px;
    background: white;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 20px;
  }
}